﻿using UnityEngine;
using System.Collections;

public class Panel_TopRight : MonoBehaviour
{	
	public GameObject backButton;
	public GameObject homeButton;
	public GameObject helpButton;

	void OnEnable()
	{
		// helpButton.SetActive( SceneController.m_SceneScript.hasHelpButton == true ? true : false );
	}

	public void OnClick_BackButton()
	{
		Debug.Log ("OnClick_BackButton");
		SceneController.CrrSceneScript.BackButton();
		
	}

	public void OnClick_HomeButton()
	{
		Debug.Log ("OnClick_HomeButton");
		SceneController.CrrSceneScript.HomeButton();
		
	}

	public void OnClick_HelpButton()
	{
		Debug.Log ("OnClick_HelpButton");
		SceneController.CrrSceneScript.HelpButton();
	}
}
